package com.fernfx.xingtan;

import java.util.Hashtable;
import java.util.Map;

/**
 * 保存常量
 */
public final class Constant {
    private Constant() {
    }

    //用户信息
    public interface UserInfoKeys {
        String USER_INFO = "user_info";

        String USER_IS_LOGIN = "user_is_login";

    }

    public interface RequestArgs {
        //中国区号
        String AREA_CODE = "86";
        //请求类型
        String SYSTEM_TYPE = "android";
        //所有请求参数的map
        Map<String, Object> REQUEST_ARGS_MAP = new Hashtable<>(5);

        //登录请求接口
        String LOGIN_URL = ConsumerApplication.ENVIRONMENT_URL + "user/login";
        //获取通讯录联系人接口
        String CONTACTS_INFO_URL = ConsumerApplication.ENVIRONMENT_URL + "contact/getUserFriendsByPage";
        //手机验证码
        String PHONE_NUMBER_URL = ConsumerApplication.ENVIRONMENT_URL + "captcha/sendSmsCode";
        //注册
        String REGISTER_URL = ConsumerApplication.ENVIRONMENT_URL + "user/register";
        //忘记密码
        String RESET_PWD_URL = ConsumerApplication.ENVIRONMENT_URL + "user/resetPwd";
        //查找用户接口(通过账号、手机号、昵称查找用户)
        String FIND_USER_URL = ConsumerApplication.ENVIRONMENT_URL + "user/findUser";
        //用户发送加好友请求接口
        String INVITE_FRIEND_URL = ConsumerApplication.ENVIRONMENT_URL + "friendship/inviteFriend";
        //用户发送加好友请求接口
        String GET_USER_FRIENDSHIP_LIST_URL = ConsumerApplication.ENVIRONMENT_URL + "friendship/getUserFriendshipList";
        //用户同意或拒绝加好友请求接口
        String AGREE_FRIEND_URL = ConsumerApplication.ENVIRONMENT_URL + "friendship/agreeFriend";
        //请求红包接口
        String REQUEST_ROBRED_PACKET_URL = ConsumerApplication.ENVIRONMENT_URL + "redPacket/requestRobRedPacket";
        //查看发红包列表接口
        String SEND_ROBRED_PACKET_HISTORY_URL = ConsumerApplication.ENVIRONMENT_URL + "redPacket/checkSendRedPacket";
        //获取红包详情
        String GET_ROBRED_PACKET_DETAILS_URL = ConsumerApplication.ENVIRONMENT_URL + "redPacket/requestRobRedPacketDetails";
        //用户资料显示
        String GET_USER_INFO = ConsumerApplication.ENVIRONMENT_URL + "editUserInfo/index";
        //获取七牛云存储token
        String GET_QINIU_TOKEN_URL = ConsumerApplication.ENVIRONMENT_URL + "pictureUploading/getToken";
        //更新图像接口
        String UPDATE_AVATAR_URL = ConsumerApplication.ENVIRONMENT_URL + "editUserInfo/updateAvatar";
        //更新昵称
        String UPDATE_NICKNAME_URL = ConsumerApplication.ENVIRONMENT_URL + "editUserInfo/updateNickName";
        //更新性别
        String UPDATE_SEX_URL = ConsumerApplication.ENVIRONMENT_URL + "editUserInfo/updateSex";
        //获取名片二维码
        String BUSSINESS_CARD_URL = ConsumerApplication.ENVIRONMENT_URL + "editUserInfo/bussinessCard";
        //更改用户签名接口
        String SAVE_USER_SIGNATURE_URL = ConsumerApplication.ENVIRONMENT_URL + "editUserInfo/saveUserSignature";
        //获取我的页面信息数据
        String PERSONAL_CENTER_URL = ConsumerApplication.ENVIRONMENT_URL + "editUserInfo/personalCenter";
        //保存更换手机号接口
        String SAVE_CHANGE_MOBILE_URL = ConsumerApplication.ENVIRONMENT_URL + "systemSetting/saveChangeMobile";
        //实名认证接口
        String AUTHENTICATION_URL = ConsumerApplication.ENVIRONMENT_URL + "systemSetting/authentication";
        //保存实名认证接口
        String SAVE_AUTHENTICATION_URL = ConsumerApplication.ENVIRONMENT_URL + "systemSetting/saveAuthentication";
        //修改用户密码接口
        String CHANGE_PASSWORD_URL = ConsumerApplication.ENVIRONMENT_URL + "user/changePassword";
        //获取钻石总数接口
        String GET_DIAMOND_TOTAL_AMOUNT_URL = ConsumerApplication.ENVIRONMENT_URL + "wallet/getDiamondTotalAmount";
        //获取钻石列表
        String GET_DIAMOND_LIST_URL = ConsumerApplication.ENVIRONMENT_URL + "wallet/getDiamondList";
        //银行卡管理/保存添加的银行卡
        String CREATE_NEW_BANK_INFO_URL = ConsumerApplication.ENVIRONMENT_URL + "wallet/createNewBankInfo";
        //银行卡管理
        String MY_BANK_ACCOUNT_URL = ConsumerApplication.ENVIRONMENT_URL + "wallet/myBankAccount";
        //获取钱罐总数接口
        String GET_PENNY_TOTAL_AMOUNT_URL = ConsumerApplication.ENVIRONMENT_URL + "wallet/getPennyTotalAmount";
        //确认退还领土接口
        String VERIFY_RETURN_TERRITORY = ConsumerApplication.ENVIRONMENT_URL + "territory/verifyReturnTerritory";
        //确认退还领土接口
        String GET_PRIVACY_SETTING_URL = ConsumerApplication.ENVIRONMENT_URL + "systemSetting/getPrivacySetting";
        //保存隐私设置接口
        String SAVE_PRIVACY_SETTING_URL = ConsumerApplication.ENVIRONMENT_URL + "systemSetting/savePrivacySetting";
        //帮助接口
        String HELP_URL = ConsumerApplication.ENVIRONMENT_URL + "systemSetting/help";
        //关于我们接口
        String ABOUTUS_URL = ConsumerApplication.ENVIRONMENT_URL + "systemSetting/aboutUs";
    }

    public interface ApplicationVariable {
        //fragment总个数
        int TAB_INDEX = 3;
        //联系人当前页码
        int PAGE_NO = 1;
        //每页展示的记录数
        int PAGE_SIZE = 1000;
        //默认头像
        String DEFAULT_USER_LOGO = "http://www.qqma.com/imgpic2/cpimagenew/2018/4/5/6e1de60ce43d4bf4b9671d7661024e7a.jpg";
        //编辑资料性别状态 不为2的就是男，为2的就显示女
        String SEX_STATUS = "2";
        //地图30秒刷新一下
        int SPAN = 30000;
        //七牛图片存储路径
        String QI_NIU_IMG_PATH = "http://p9xxhbea6.bkt.clouddn.com/";
        //发红包最大允许上传图片的个数
        int MAX_ROBRED_PACKET_COUNT = 1;
    }
}
